package com.dq.health.dao.gen;

import com.dq.health.entity.gen.GeneratorId;
import org.apache.ibatis.annotations.Param;

import java.util.Date;

public interface GeneratorIdMapper {

    GeneratorId queryNextSeqByName(@Param("genType") String seqName);

    int updateSeqByName(@Param("genType") String genType, @Param("genCount") Long genCount,
        @Param("genId") String genId, @Param("genTime") Date genTime);
}
